package ooday03.Society;

public class Student extends Person {
    String className;
    String stuID;
Student(String name,String address,int age,String className, String stuID){
    super(name,address,age);
    this.className=className;
    this.stuID=stuID;
}
    void study(){
        System.out.println(name+" is studying!");
    };
    void sayHi(){
        System.out.println("Hi everyone, my name is: "+name+", I'm "+age+" years old, I live in "+address);
        System.out.println(", my className is: "+className+", my student ID is: "+stuID);
        System.out.println();
    }
}
